package com.maochang.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.maochang.pojo.PsUser;

import java.util.List;


public interface PsUserService extends IService<PsUser> {

     PsUser searchByUserCode2(String userCode);
     //差巡检员
     List<PsUser> ChaXunJiAn();
     //修改密码
     Boolean  UpdatePwd(PsUser psUser);
     //查所有用户
     Page<PsUser> getUserAll(int current, int page,String userName, String userCode);
     //改变用户状态
     Boolean  UpDateZhuAngTai(Integer id,String fAlg);
     //更改用户信息
     Boolean  UpdatePsUserMessage(PsUser psUser);
     //删除用户
     Boolean ShanChuYongHu(Integer id);
     //新增永华
     Boolean addUser(PsUser psUser);
     //查询 系统线路管理员
     List<PsUser> xiaoQuYuan();
     // 查询巡检员
     List<PsUser> zhenZhengDeXunJiYuan();
}
